package com.hippo.core.dao;

import com.alibaba.fastjson.JSONObject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author hippo
 */
@Mapper
public interface HomeDao {

    List<JSONObject> getLatestCaseCnt(String projectId);

    List<JSONObject> getLatestPlanCnt(String projectId);

    List<JSONObject> getCaseCnt(String projectId);

    List<JSONObject> getPlanCnt(String projectId);

    List<JSONObject> getCasePlanRunCnt(String projectId);

    List<JSONObject> getCaseFailCnt(String id);

    List<JSONObject> getPlanFailCnt(String id);
}
